package  com.zerosky.crm.service;

import java.util.Map;

import com.zerosky.crm.po.SharingRecords;
import com.zerosky.crm.util.PageInfo;

/**SharingRecords业务逻辑接口 
 * @author 周正祥;
 * @since 2017-07-13
 */
public interface SharingRecordsService {

	/**SharingRecords列表接口
	 * @since 2017-07-13
	 */
	public PageInfo<SharingRecords> getSharingRecordsList(Map<String, Object> map);
	
	/**SharingRecords列表接口
	 * @since 2017-07-13
	 */
	public PageInfo<SharingRecords> getEmployeeRecordsList(Map<String, Object> map);

	/**通过主键查找SharingRecords实体接口
	 * @param id SharingRecords主键
	 * @since 2017-07-13
	 */
	public SharingRecords getSharingRecordsById(String id);

	/**保存SharingRecords接口 
	 * @param SharingRecords 实体对象, operation 操作类型
	 * @since 2017-07-13
	 */
	public void saveSharingRecords(SharingRecords sharing, String operation);
 	 
	/** 删除SharingRecords接口
	 * @param 
	 * @since 2017-07-13
	 */
	public void deleteSharingRecordsById(String id);

}
